#include "modules/Circle/Circle.h"

int main() {
    spdlog::info("This is an info message from spdlog!");



    std::cout << "Root: " << Circle::Paths::__ROOT__ << std::endl;
    std::cout << "Config: " << Circle::Paths::__CONFIG__ << std::endl;
    std::cout << "Lang: " << Circle::Paths::__LANG__ << std::endl;
    std::cout << "Log: " << Circle::Paths::__LOG__ << std::endl;
    std::cout << "Modules: " << Circle::Paths::__MODULES__ << std::endl;

    std::string testString = "   Hello,   World!   ";

    // 调用 StringUtils 类的 trim 方法去除字符串首尾的空白字符
    std::string trimmedString = Circle::Units::trim(testString);
    std::cout << "Trimmed string: " << trimmedString << std::endl;

    // 调用 StringUtils 类的 removeAllSpaces 方法去除字符串中所有的空白字符
    std::string noSpacesString = Circle::Units::removeAllSpaces(testString);
    std::cout << "String with all spaces removed: " << noSpacesString << std::endl;

    auto logger = Circle::Logs::init();
    logger->info("This is an info message from the encapsulated spdlog!");



    return 0;
}